home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / utility2 / wclib.zip / WCLIBC.ZIP / WCLIB.RC < prev    next >
Text File  |  1993-04-27  |  5KB  |  87 lines

  1. //===========================================================
  2. // WCLIB.RC - Resource script 
  3. // Copyright (C) 1993 Douglas Boling
  4. //===========================================================
  5.  
  6. #include "windows.h"
  7. #include "WinCmd.h"
  8. #include "WCLib.h"
  9.  
  10. WCLibIcon ICON WCLib.ico
  11.  
  12. //---------------------------------------------------------
  13. // About Box Dialog template
  14. //---------------------------------------------------------
  15. AboutBox DIALOG 23, 20, 140, 102
  16. CAPTION "About WCLib"
  17. STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
  18. FONT 8, "Helv"
  19. BEGIN
  20.    ICON  "WCLibIcon",                -1,   5,   5,  16,  16
  21.    CTEXT "WCLib ",          IDD_PROGSTR,  40,  12,  60,  10
  22.    CTEXT "A WinCmd Function library",-1,  10,  24, 120,  10
  23.    CTEXT "Copyright \251 1993 Douglas Boling", 
  24.                                      -1,  10,  36, 120,  10
  25.    CTEXT "First published in PC Magazine"
  26.                                  -1,  10,  48, 120,  10
  27.    CTEXT "May 25, 1993"              -1,  10,  60, 120,  10
  28.    CTEXT "US Edition Only"           -1,  10,  72, 120,  10
  29.    DEFPUSHBUTTON "OK",             IDOK,  50,  84,  40,  12
  30. END
  31.  
  32. //---------------------------------------------------------
  33. // String table containing error messages
  34. //---------------------------------------------------------
  35. STRINGTABLE {
  36.    HELPSTART+0 , "==========================================="
  37.    HELPSTART+1 , "==========================================="
  38.    HELPSTART+2 , "WCLib Functions"
  39.    HELPSTART+3 , "Copyright 1993 Douglas Boling"
  40.    HELPSTART+4 , "==========================================="
  41.    HELPSTART+5 , "==========================================="
  42.    HELPSTART+6 , " "
  43.    HELPSTART+7 , "GetWindowHandle (title text)          Returns the handle of the window"
  44.    HELPSTART+8 , "GetWindowText  (window handle)        Returns the title text for a window"
  45.    HELPSTART+9 , "GetWindowPos (window handle)          Returns the x and y coordinates for a window"
  46.    HELPSTART+10, "GetWindowSize (window handle)         Returns the size of a window"
  47.    HELPSTART+11, "GetWindowState (window handle)        Returns the state (icon/restored/zoomed) of a window"
  48.    HELPSTART+12, "GetWindowEXE (window handle)          Returns the name of the EXE that created the window"
  49.    HELPSTART+13, "GetWindow (window handle, relation)   Returns the window handle of related window"
  50.    HELPSTART+14, "                                      0 = First Window   3 = Prev Window   6 = Parent"
  51.    HELPSTART+15, "                                      1 = Last Window    4 = Owner"
  52.    HELPSTART+16, "                                      2 = Next Window    5 = 1st Child"
  53.    HELPSTART+17, "SizeWindow (window handle, cx, cy)    Resizes a window"
  54.    HELPSTART+18, "MoveWindow (window handle, x, y)      Moves a window"
  55.    HELPSTART+19, "MinimizeWindow (window handle)        Minimizes a window"
  56.    HELPSTART+20, "MaximizeWindow (window handle)        Maximizes a window"
  57.    HELPSTART+21, "RestoreWindow (window handle)         Restores a window"
  58.    HELPSTART+22, " "
  59.    HELPSTART+23, "SendMCIString (MCI String)            Sends an MCI command string"
  60.    HELPSTART+24, "GetMCIErrorString (MCI Error number)  Returns an error message for an MCI error number"
  61.    HELPSTART+25, " "
  62.    HELPSTART+26, "GetClipText (no parameters)           Retrieves text from the clipboard"
  63.    HELPSTART+27, "SetClipText (data for clipboard)      Sets the clipboard contents"
  64.    HELPSTART+28, "LoadIconFile (icon file name)         Loads a icon and returns an icon handle"
  65.    HELPSTART+29, "SetIcon (window handle, icon handle)  Sets a window's icon"
  66.    HELPSTART+30, "HighWord (number)                     Returns the upper 16 bits of a number"
  67.    HELPSTART+31, "LowWord (number)                      Returns the lower 16 bits of a number"
  68.    HELPSTART+32, "PostMessage (window handle, message number, word param, long param)"
  69.    HELPSTART+33, "                                      Posts a message to a window"
  70.    HELPSTART+34, "SendMessage (window handle, message number, word param, long param)"
  71.    HELPSTART+35, "                                      Sends a message to a window"
  72.    HELPSTART+36, " "
  73.    HELPSTART+37, "FileOpen (file name, open mode)              Opens a file"
  74.    HELPSTART+38, "FileRead (file handle, bytes to read)        Reads bytes from a file"
  75.    HELPSTART+39, "FileReadLine (file handle)                   Reads a line from a file"
  76.    HELPSTART+40, "FileWrite (file handle, data to write)       Writes data to a file"
  77.    HELPSTART+41, "FileWriteLine (file handle, data to write)   Writes a line to a file"
  78.    HELPSTART+42, "FileMovePtr (file handle, offset, relative)  Moves a file read/write pointer"
  79.    HELPSTART+43, "FileClose (file handle)                      Closes a file"
  80.    HELPSTART+44, "FileExist (file name)                        Returns TRUE if a file exists"
  81.    HELPSTART+45, " "
  82.    HELPSTART+46, "GetDir (no parameters)                Returns the current drive and directory"
  83.    HELPSTART+47, "SetDrive (Drive letter)               Sets the default drive"
  84. }
  85.  
  86.  
  87.